<template>
    <div>
        <Jdd-TablePage v-bind="table1">
            <Jdd-BtnSearch></Jdd-BtnSearch>
            <Jdd-BtnSubmit></Jdd-BtnSubmit>
            <Jdd-BtnDelete></Jdd-BtnDelete>
            <Jdd-BtnUpdate></Jdd-BtnUpdate>
            <Jdd-BtnDefault @click="toApp"></Jdd-BtnDefault>
        </Jdd-TablePage>
    </div>
</template>

<script>
export default {
  data () {
    return {
      table1: {
        tColumns: [
          {
            title: 'Name',
            key: 'name'
          },
          {
            title: 'Age',
            key: 'age'
          }
        ],
        tData: []
      }
    }
  },
  methods: {
    toApp () {
      // this.$router.pushApp("dnp")
      // this.$router.pushApp({ name: 'dnp', path: "/baseinfo/device"})
      // this.$router.pushApp({ name: 'dnp', query: { plan: 'private',name: 'yjj'  }})
      // this.$router.pushApp({ name: 'dnp', path: "/baseinfo/device", query: { plan: 'private',name: 'yjj'  }})
      // this.$router.pushApp({ name: 'dnp', path: "/test2/test21?id=1", query: { plan: 'private',name: 'yjj'  }})
    }
  }
}
</script>

<style lang="less" type="text/less">
</style>
